package cn.com.simple.learning.designpattern.structure.decorator;

/**
 * @author Jianxing.Jia
 * @date 2022/2/10
 * @description 描述信息
 */
public class DecoratorTest {
    public static void main(String[] args) {
        Beverage beverage = new Pearl(new Coconut(new MilkTea()));
        String description = beverage.getDescription();
        System.out.println(description);
    }
}
